package com.ruoyi.system.api.domain.store;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class StockOutDetail {
    /**
     * 主键id
     */
    private Integer id;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 出库记录id（外联出库记录表）
     */
    private Integer stockOutId;

    /**
     * 出库数量
     */
    private Integer num;
    private BigDecimal price;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间，默认当前时间
     */
    private Date createDate;

    /**
     * 修改人
     */
    private String modifyBy;

    /**
     * 修改时间
     */
    private Date modifyDate;

    /**
     * 是否删除（0：未删除，1：已删除）
     */
    private Integer isDel;
    private String proName;
    private String proCode;
    private String unitName;
    //出库数量
    private int numByOutStock = 0;
    /**
     * 实际出库数量
     */
    private Integer stockOutNumber;
    //商品表成本
    private BigDecimal cost;

    public int getNumByOutStock() {
        return numByOutStock;
    }

    public void setNumByOutStock(int numByOutStock) {
        this.numByOutStock = numByOutStock;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getStockOutId() {
        return stockOutId;
    }

    public void setStockOutId(Integer stockOutId) {
        this.stockOutId = stockOutId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public Integer getStockOutNumber() {
        return stockOutNumber;
    }

    public void setStockOutNumber(Integer stockOutNumber) {
        this.stockOutNumber = stockOutNumber;
    }
}
